package com.fsc.entity.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.sql.Date;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * 学生奖惩情况表
 * @TableName reward_punish
 */
@TableName(value ="reward_punish")
@Data
public class RewardPunish implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 学生ID
     */
    private Integer studentId;

    /**
     * 录入日期
     */
    private Date time;

    /**
     * 类型，0是惩罚，1是奖励
     */
    private Integer type;

    /**
     * 奖励或惩罚，老师评语
     */
    private String description;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
